package com.nbsaas.boot.manufacturing.rest.convert;

import com.nbsaas.boot.manufacturing.data.entity.ProcessRoute;
import com.nbsaas.boot.manufacturing.api.domain.response.ProcessRouteResponse;

import com.nbsaas.boot.utils.BeanDataUtils;
import com.nbsaas.boot.rest.api.Converter;
/**
* 工艺路线-实体对象转化成响应对象
*/

public class ProcessRouteResponseConvert  implements Converter<ProcessRouteResponse,ProcessRoute> {

    @Override
    public ProcessRouteResponse convert(ProcessRoute source) {
        ProcessRouteResponse  result = new  ProcessRouteResponse();
        BeanDataUtils.copyProperties(source, result);
        return result;
    }

}

